
# Copyright 2009 David Lee Miller
#
# This file is part of POSSM (Python Open Source Scanning Microscopy).
#
# POSSM is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# POSSM is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License         
# along with POSSM.  If not, see <http://www.gnu.org/licenses/>.
#                                                                           
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

from distutils.core import setup, Extension

extra_link_args = []
extra_link_args.append('-dynamic')
include_dirs = []
#include_dirs.append('/usr/include')
#include_dirs.append('/usr/local/include')
library_dirs = []
#library_dirs.append('/usr/lib')
#library_dirs.append('/usr/local/lib')
libraries = []
libraries.append('rt')
libraries.append('comedi')
extra_compile_args=[]
extra_compile_args.append('-O2')

setup(name="comediExtensions", version="0.0",
	ext_modules = [Extension("comediExtensions", ["controller/comediExtensions.c"],extra_link_args=extra_link_args,
	include_dirs=include_dirs,libraries=libraries,library_dirs=library_dirs,extra_compile_args=extra_compile_args)])